#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int arr[10] = { 0,1,2,3,4,6,7,8,9,10 };
int numsSize = sizeof(arr) / sizeof(arr[0]);
int x = 0;
int y = 0;
int z = 0;
int main()
{
	for (int i = 0; i < numsSize; i++)
	{
		x^=arr[i];
	}
	for (int i = 0; i <= numsSize; i++)
	{
		y^=i;
	}
	z = x ^ y;
	printf("%d", z);
	return 0;
}